package cn.teleus.admin.entity;

import cn.teleus.admin.entity.base.BaseUser;

import java.util.Collection;

public class User extends BaseUser {
	public static final byte STAUS_NORMAL = 0;
	public static final byte STATUS_DISABLE = 1;

	@Override
	public int hashCode() {
		return getId() != null ? getId().hashCode() : 0;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + getId() +
				", showname=" + getShowName() +
				", username='" + getUsername() + '\'' +
				", password='" + getPassword() + '\'' +
				", status=" + getStatus() +
				'}';
	}
}
	
